package jnpf.message.fallback;

import jnpf.base.UserInfo;
import jnpf.message.SentMessageApi;
import jnpf.message.entity.SendMessageConfigEntity;
import jnpf.message.model.SentMessageForm;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 调用系统消息Api降级处理
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * @date 2021-03-24
 */
@Component
public class SentMessageApiFallback implements SentMessageApi {

    @Override
    public void sendMessage(SentMessageForm sentMessageForm) {

    }

    @Override
    public void sendDelegateMsg(SentMessageForm sentMessageForm) {

    }

    @Override
    public void sentMessage(List<String> id, String title , String bodyText,Integer source, Integer type, UserInfo userInfo){

    }

    @Override
    public void logoutWebsocketByToken(String token, String userId) {

    }

    @Override
    public void sendScheduleMessage(SentMessageForm sentMessageForm,String type) {

    }
}

